package com.lebang.model.back;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

import java.time.LocalDateTime;

/**
 * @Author: xwj
 * @Date: 2020/6/16 20:18
 * @Version 1.0
 */
@Document("KsapiModel")
@Data

public class KsapiModel {
    private String _id;
    private String aid;
    private String cid;
    private String dname;
    private String did;
    private String imei;
    private String mac;
    private String oaid;
    private String androidid;
    private Long TIMESTAMP;
    private String callback;
    private String ip;
    private String csite;

    @JsonFormat(pattern = "yyyy-MM-dd:HH:mm:ss")
    private LocalDateTime creatTime;

    /**
     * 0 未回传 1 已回传
     */
    private Integer status;
}
